package com.bvbot.core.domain;

import java.io.IOException;
import java.sql.Connection;
import java.sql.ResultSet;

public interface DomainObject {

	public Long getId();

	public void toDb(Connection conn) throws IOException;

	public DomainObject fromDb(ResultSet rs) throws IOException;

}
